/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package B3D_Elements;

import java.io.Serializable;
import java.util.UUID;

/**
 *
 * @author David
 */
public class B3D_Element implements Serializable, Cloneable
{

    private String name;
    private UUID id = UUID.randomUUID();

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public UUID getID()
    {
        return id;
    }

    public B3D_Element clone()
    {
        try
        {
            return (B3D_Element) super.clone();
        } catch (CloneNotSupportedException e)
        {
            throw new InternalError();
        }
    }
}
